extends MoveElement


class_name MouseElement
"""
根据鼠标控制方向移动
"""


func yield_move(delta: float) -> Vector2:
    move_component.direction = move_component.mouse_direction()
    return Vector2.ZERO
